//
//  WKNavigationView.h
//  ourToken
//
//  Created by wakeup on 2018/5/30.
//  Copyright © 2018年 ourtoken. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WKNavigationViewDelegate <NSObject>

@required
//左边按钮点击事件
- (void)leftButtonClick:(UIButton *)sender;

//右边按钮点击事件
- (void)rightButtonClick:(UIButton *)sender;

@end

@interface WKNavigationView : UIView

@property (nonatomic, weak)id<WKNavigationViewDelegate>delegate;

@property (nonatomic, strong) UIView *topTitleView;//不包含状态栏视图

@property (nonatomic, strong) UIButton *topLeftButton;//左侧按钮

@property (nonatomic, strong) UIButton *topRightButton;//右侧按钮

@property (nonatomic, strong) UILabel *topTitleLabel;//中间标题

@property (nonatomic, strong) UIView *topLineView;//底部灰色的线

@property (nonatomic, assign, readonly) CGFloat buttonSpace;//按钮距离边线的距离

@property (nonatomic, assign, readonly) CGFloat buttonWidth;//按钮的宽

@property (nonatomic, assign, readonly) CGFloat topTitleViewHeight;//不包含状态栏视图的高

@end
